package com.krtech.wecard.module.pub.service;

import java.util.List;

import com.krtech.wecard.module.pub.dto.CardInfoVo;
import com.krtech.wecard.module.pub.entity.CardInfo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CardInfoService extends IService<CardInfo> {


    int updateBatch(List<CardInfo> list);

    int batchInsert(List<CardInfo> list);

    public CardInfoVo add(CardInfoVo cardInfoVo);

    public CardInfoVo updateByCardInfoVo(CardInfoVo cardInfoVo);

    public Boolean delete(Integer id);

    public CardInfoVo getCardInfoById(Integer id);

    public CardInfoVo getManageById(Integer id);

    public CardInfoVo userGetMyCard(Integer userId);

}
